package org.zhangsh.rabbitmq.queue;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * </p>
 *
 * @author zhangsh
 * @version 1.0.0
 * @since 2019-03-13
 */
@Configuration
public class QueueConfiguration {

    @Bean
    public Queue queue(){
        return new Queue("hello-queue");
    }
}
